<script setup lang="ts">
import useMouseEvent from '@renderer/composables/useMouseEvent'
import Footer from '@renderer/components/Footer.vue'
import { Crown } from '@icon-park/vue-next'

const { hd } = useMouseEvent()
hd()
</script>

<template>
  <RouterView #default="{ Component }">
    <div class="flex justify-center mb-2 w-full drag">
      <Crown theme="outline" size="35" fill="yellow" />
    </div>
    <component :is="Component"></component>
    <Footer />
  </RouterView>
</template>
